import {BasicColumn,FormSchema} from '@apps/antd-admin/src/components/Table';

export const columns: BasicColumn[] = [
    {
        title: '创建人',
        dataIndex: 'createBy',
        width: 200,
    },
    {
        title: '创建时间',
        dataIndex: 'createTime',
        width: 200,
    },
    {
        title: '更新人',
        dataIndex: 'updateBy',
        width: 200,
    },
    {
        title: '更新时间',
        dataIndex: 'updateTime',
        width: 200,
    },
    {
        title: '名称',
        dataIndex: 'chestName',
        width: 200,
    },
    {
        title: '货箱编号',
        dataIndex: 'chestNo',
        width: 200,
    },
    {
        title: '影棚ID',
        dataIndex: 'studioId',
        width: 200,
    },
    {
        title: '货箱地址',
        dataIndex: 'chestAddress',
        width: 200,
    },
    {
        title: '货箱内数量',
        dataIndex: 'chestNum',
        width: 200,
    },
    {
        title: '订单编号',
        dataIndex: 'orderNo',
        width: 200,
    },
    {
        title: '订单商品数量',
        dataIndex: 'orderProductNum',
        width: 200,
    },
    {
        title: '客户信息',
        dataIndex: 'customer',
        width: 200,
    },
    {
        title: '收货人姓名',
        dataIndex: 'receiptName',
        width: 200,
    },
    {
        title: '收货人电话',
        dataIndex: 'receiptTel',
        width: 200,
    },
];

export const searchFormSchema: FormSchema[] = [
];

export const formSchema: FormSchema[] = [
    {
        label: '创建人',
        field: 'createBy',
        component: 'Input',
        required: true,
    },
    {
        label: '创建时间',
        field: 'createTime',
        component: 'Input',
        required: true,
    },
    {
        label: '更新人',
        field: 'updateBy',
        component: 'Input',
        required: true,
    },
    {
        label: '更新时间',
        field: 'updateTime',
        component: 'Input',
        required: true,
    },
    {
        label: '名称',
        field: 'chestName',
        component: 'Input',
        required: true,
    },
    {
        label: '货箱编号',
        field: 'chestNo',
        component: 'Input',
        required: true,
    },
    {
        label: '影棚ID',
        field: 'studioId',
        component: 'Input',
        required: true,
    },
    {
        label: '货箱地址',
        field: 'chestAddress',
        component: 'Input',
        required: true,
    },
    {
        label: '货箱内数量',
        field: 'chestNum',
        component: 'Input',
        required: true,
    },
    {
        label: '订单编号',
        field: 'orderNo',
        component: 'Input',
        required: true,
    },
    {
        label: '订单商品数量',
        field: 'orderProductNum',
        component: 'Input',
        required: true,
    },
    {
        label: '客户信息',
        field: 'customer',
        component: 'Input',
        required: true,
    },
    {
        label: '收货人姓名',
        field: 'receiptName',
        component: 'Input',
        required: true,
    },
    {
        label: '收货人电话',
        field: 'receiptTel',
        component: 'Input',
        required: true,
    },
];
